<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet 
   version="1.0" 
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
   xmlns:lcp="http://schemas.icitadel.com/Lazarus/CPP/Physical.xsd">

   <xsl:template match="lcp:Includes">
      <xsl:apply-templates select="lcp:Include" />
   </xsl:template>

   <xsl:template match="lcp:Include[ @type = 'Header' ]">
      <xsl:text>
#include "</xsl:text>
      <xsl:value-of select="@target" />
      <xsl:text>.h"</xsl:text>
   </xsl:template>

   <xsl:template match="lcp:Include[ @type = 'System' ]">
      <xsl:text>
#include &lt;</xsl:text>
      <xsl:value-of select="@target" />
      <xsl:text>&gt;</xsl:text>
   </xsl:template>
</xsl:stylesheet>